<div class="sidenav">
    {:hook('user_sidenav_before')}
    <ul class="list-group">
        <li class="list-group-heading">{:__('User center')}</li>
        <li class="list-group-item {:$config['actionname']=='index'?'active':''}"> <a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> {:__('User center')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='profile'?'active':''}"> <a href="{:url('user/profile')}"><i class="fa fa-user-o fa-fw"></i> {:__('Profile')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='charge'?'active':''}"> <a href="{:url('user/charge')}"><i class="fa fa-user-o fa-fw"></i> 在线充值</a> </li>
        <li class="list-group-item {:$config['actionname']=='main_domain'?'active':''}"> <a href="{:url('domain/domain')}"><i class="fa fa-wrench fa-fw"></i> 域名配置</a> </li>
        <li class="list-group-item {:$config['actionname']=='gzhdomain'?'active':''}"> <a href="{:url('domain/gzhdomain')}"><i class="fa fa-key fa-fw"></i> 公众号配置</a> </li>

        <li class="list-group-item {:$config['actionname']=='changepwd'?'active':''}"> <a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i> {:__('Change password')}</a> </li>
        <li class="list-group-item {:$config['actionname']=='clearcache'?'active':''}"> <a href="{:url('user/clearcache')}"><i class="fa fa-key fa-fw"></i> 清理缓存</a> </li>
        <li class="list-group-item {:$config['actionname']=='help'?'active':''}"> <a href="{:url('docs/help')}"><i class="fa fa-fire fa-fw"></i> 问题帮助</a> </li>
        <li class="list-group-item {:$config['actionname']=='developer'?'active':''}"> <a href="{:url('docs/developer')}"><i class="fa fa-file fa-fw"></i> 对接文档</a> </li>
        <li class="list-group-item {:$config['actionname']=='logout'?'active':''}"> <a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i> {:__('Sign out')}</a> </li>

    </ul>
    {:hook('user_sidenav_after')}
</div>